<?php

namespace Yolo\Service;

/**
 * The abstract service class.
 * @date 2024-12-09
 */
abstract class AbstractService
{

    abstract public function main(): void;

    abstract public function components(): array;

    abstract public function middlewares(): array;

    /**
     * The pre-processors.
     * @return array
     */
    public function preProcessors(): array
    {
        return [];
    }
}